package com.zr.beijian.model;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
@Data
public class BeiJianUpdateVo {
        private int id;
        @Size(min=2,max = 5,message = "2-5")
        private String name;
        @NotBlank(message = "描述不能为空")
        private String descripe;
        private int state;
}
